<?php

/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

/**
 * Description of Collection
 *
 * @author ketu
 */
class Zhishidi_Express_Model_Mysql4_Type_Collection extends Mage_Core_Model_Mysql4_Collection_Abstract {

    protected function _construct() {
        $this->_init('zhishidi_express/type');
    }
 public function addVisibleFilter($visible = 'public') {
        $this->getSelect()->where('main_table.type_status = ?', $visible);
        return $this;
    }

}

?>
